Private Declare Function SetWindowLong Lib "User32" Alias "SetWindowLongA" (ByVal hWnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long
Private Declare Function GetWindowLong Lib "User32" Alias "GetWindowLongA" (ByVal hWnd As Long, ByVal nIndex As Long) As Long
Private Declare Function CallWindowProc Lib "User32" Alias "CallWindowProcA" (ByVal lpPrevWndFunc As Long, ByVal hWnd As Long, ByVal Msg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
'Consts
Private Const GWL_WNDPROC = (-4)
Private Const WM_ACTIVATE = &H6
Private Const WM_SETFOCUS = &H7
'Vars
Public StandardButtonProc As Long
Public Sub NoFocusRect(Button As Object, vValue As Boolean)